<template>
    <!-- 长宽、规格义汇总 -->
    <div class="summarys-item-page">
        <Table
            :api="$Api.storage.gcount.format"
            :params="{ selectType, pageSize: 100 }"
            :sort="false"
            height="80vh"
        >
            <el-table-column label="品名" prop="goodsName" width="200" />
            <el-table-column label="品牌" prop="brandName" width="200" />
            <el-table-column label="等级" prop="level" width="140" />
            <el-table-column label="仓库" prop="warehouse" width="240" />
            <el-table-column label="厚度" prop="ply" width="88" />
            <el-table-column label="宽度" prop="width"  width="88" />
            <el-table-column label="长度" prop="length" v-if="selectType == 2" />
            <el-table-column label="片数" prop="sliceCount"  v-if="selectType == 2" />
            <el-table-column label="件数" prop="pieceCount" />
            <el-table-column label="方数" prop="inCount" />
            <el-table-column label="可用" prop="usableInCount" />
        </Table>
    </div>
</template>

<script>
export default {
    props: ["selectType"],
    data: () => {
        return {};
    },
    created() {},
    methods: {},
};
</script>

<style lang="scss" scoped>
.summarys-item-page {
}
</style>